home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 11 / Info-Mac_XI_Disc_1.cdr_ / Info-Mac XI Disc 1.cdr / Programs / Science & Math / MacEspresso 1.0 / espresso / ansi.h next >
Encoding:
C/C++ Source or Header  |  1989-05-22  |  495 b   |  25 lines  |  [TEXT/R*ch]

  1. /*
  2.  * ANSI Compiler Support
  3.  *
  4.  * David Harrison
  5.  * University of California, Berkeley
  6.  * 1988
  7.  *
  8.  * ANSI compatible compilers are supposed to define the preprocessor
  9.  * directive __STDC__.  Based on this directive, this file defines
  10.  * certain ANSI specific macros.
  11.  *
  12.  * ARGS:
  13.  *   Used in function prototypes.  Example:
  14.  *   extern int foo
  15.  *     ARGS((char *blah, double threshold));
  16.  */
  17.  
  18. /* Function prototypes */
  19. #ifdef __STDC__
  20. #define ARGS(args)    args
  21. #else
  22. #define ARGS(args)    ()
  23. #endif
  24.  
  25.